Fixed GitController call to checkRouteParams.

Errors while saving files made more verbose.

@samuelfrench sign off.