Don't double (or triple) up common error messages

process_common_errors() was called thrice, each time appending to the
existing error message, and leading to confusing repetition in the
message that was finally displayed.

Fixes #7498
Merge pull request #7517 from amenonsen/double-error

Don't double (or triple) up common error messages