Fix handling of the wrong (incomplete) input
Adjust unit-test accordingly
pkg_change_poc can be used on Deprecated packages as well