packed-load-path: bugfix

Previously we always checked whether the top directory should be ignored
instead of checking whether the directory in question should be ignored,
and so no directory was ever ignored.
cosmetics