git_remote_helpers: fix input when running under Python 3