Small improvement for fix to bug#8164.
Follow-up fix for bug#9563 - Fixed an error in case that the customer is not in the system.
Merge branch 'master' of https://github.com/OTRS/otrs