Fixed resolving of symlinks in *-enabled and *.d