Fixes #5961: Generating policies failed with "key not found: LICENSESPAID"