Fixed bug with resolving path via symlinks