Fixes --quiet for the exec command

The perlbrew environment was dumped on error regardless of the
status of the --quiet flag

Including a test for this change.