Check if directory exists.

This is better than checking if the link is a symbolic link or if it exists
because it gets at what we care about.