Fixed regression in scripts/regenerate-properties