Ignore cwd when getting remote revision