Add error code when VENDOR_PATH is not defined