Fix usage of resource_path.