Fixing migration for non-image resources