empty path and branch when changing repo, empty path when changing branch