Configure some clearly per-project detection via git config

Also reverse default behavior of production.rb detection, and improve
error diagnostics.