Ok this reads funny to me. By supplying True as the default value for your get(), you're saying "If the report key is undefined, get the report key."  This is an uncaught KeyError exception waiting to happen.