ncm-spma functions: fix test for an explicitly defined package version

Annoying bug discovered when starting to make real use of these rewritten functions.
ok, so locking down a previously unlocked package is now allowed with `pkg_repl`. previously, this would throw an error.
@jouvin can you rephrase the title to reflect this new behaviour (the title of the PR is used for the release changelog)