Be more conservative about soft library reload.
Only reuse a package if we still intend to be loading
it from the same packageDir.