getOrPutGenerated

Finds the ResourcePath of the given model or registers it in nova:generated/.