Customized vendor-dir

Parse the composer.json and set the "vendor-dir" as CACHED_DIR
if the user customized the "vendor-dir".