Fix git.latest to run current branch and ls remote as correct user

During a git.latest call our scripts weren't getting run as the correct user that caused SSH prompt/issues