Correctly get install path from composer

Some plugins for composer can change install path (mnsami/composer-custom-directory-installer), so we have to use path from composer and not to build it ourself.