Fix pre-receive hook, arguments from stdin