Resolve relative symlinks in AvailableTask.

When followSymlinks is used in AvailableTask, it will only work when the symlink target is given as an absolute path.
This patch makes it work when the target is a relative path too.