Add check and tests for resolver being called with empty path