Fix crash when zypper is locked during pattern inspection

Fixes issue #415.
Space missing to the left of {.<br>Space missing inside {.<br>Space missing inside }.