Parse the "remotes" key correctly