Ignore version.properties from other generations

I'm testing this fix now, but feedback welcome on whether it looks like a reasonable approach.