Fix -t option when not using a device