automatically get remote origin for deploy hooks (#168)