Fixes git command to prune remotes