Adding check for a composer specified vendor directory.