utils.resource: Fix non-incremental publishing
utils.resource: Fix non-incremental publishing

The fixes to incremental resource publishing broke the non-incremental
publishing, this fixes that.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb