Support for empty path in resolvePath