buildpack: When checking for existence of cache directory, consider it may be a symlink