8ee35e896f
This works well for python2, but things will become messy when py3 will be the default. This, at the same time, ensures the KeyErrors are properly logged, with a way to debug them. Change-Id: If5d8007bece9ccbff481187e757968e7d1b6f651