Fixed issue #1373: The only available remote should be set on PUSH