For a GNR you should use a repetition of (1,1,x), where x = 3, 5, 7, etc. Even numbers along z is not allowed.
If you have a device, it does not make sense to repeat it along the transport direction. By construction, the device central region has the length it has, nothing more, nothing less. It is of course semi-periodic through the electrodes, but this is handled behind the scenes. Therefore, only repetitions of (x, y, 1) are allowed for devices.