We only need pyserial python module if we are doing device testing. Treat it similar to how we treat tabulate module. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>