Instead of a StringListAttribute of length 1, introduce a more appropriately reduced StringAttribute so that e.g. `select`s work properly Test: new cases in TestGenerateBazelTargetModules Change-Id: I0ae0e4a51e39f85caf55b0d00459222ede6de79c