guard against exceptions in YamlTree.getChildKeys