Some more little fixes to the defaulting behavior of getProgramTag.