Remember each repository's (relative) directory

This is redundant because the repository is in a map by name, but we
want the info here for diagnostic purposes.
Fix a long-standing bug: program options doesn't like two-letter short options