Use realpath when it returns something truthy
Removed vendor and added it to gitignore