Re-add support for paths starting with '~' 

This seems to have worked it the past, and I think it's a great feature – you avoid having to write the full path to a repo.