check for NULL dictionary values in python autoreloader