Fix for magento-root-dir when passed through composer.json file