hardcode a relative path to core installed via composer

 as book suggests
Merge pull request #4540 from ptica/master

hardcode a relative path to core installed via composer