Fixed return value for git ls remote