Added check to exit if composer fails to install vendors.