Use of realpath to make VENDORPATH absolute like other constants.

Now VENDORPATH is an absolute path, but it is always relative to the core directory.