add nonpkg directories for non-Pkg code to LOAD_PATH

See issue #2295.