Fixed readlink handling for missing directories
2.0.8