Handle null/empty arg to getRemoteUrl(String, String) the same in CliGit and JGit

CliGit previously would throw an exception on an empty string or a
null.  Now it behaves like JGit and assumes the empty string and null
are both references to the current working directory.