Break out appFromGitRemote().
-a specifies an appish, which could be a git remote or explicit app name.