Fix user promotion bug

This pull request fixes an improperly handled exception that occurs when a user or admin on the 'global' container is promoted to superuser and causes an incorrect error message to be shown.