no need to pop when changing a key in a dict
remove redundant 'else:' statement
debugging jenkins