Fix ruby syntax warnings

The key variable was being ghosted because it was used multiple times
better variable name
Add warning about accidental processing to BuildAttemptJob shim
change redirects and error messages of request_build