- Improve error message handling for locked packages

The current errors look like this:

 # pkg install zsh
Updating repository catalogue
pkg: No packages matching 'zsh' available in the repositories

With this patch they look like this:

 # ./pkg/pkg-static install zsh
Updating repository catalogue

zsh-5.0.2_1 is locked and may not be modified