Improved argument parsing.  Before this change,
passing just a --root= argument would end up using
the --root argument as the repository url.