Fix bug in load-from-vendor-dir

Didn't work when the directory didn't exist!