Fix script.yaml_key

getConfigurationSection("") is theoretically invalid, but we use it,
so... handle it neatly.