Add vendor autoloader guard and fix broken path when not in current dir