Please let argparse check that the argument is actually a valid directory (like here: https://github.com/ros-infrastructure/rosinstall_generator/blob/upstream_options/bin/rosinstall_generator#L64).