Since the default value is None when can't get a key from a dict, So there is no need to use dict.get('key', None). Change-Id: I9f2ea40e13a63992170149936ae4e80b8969c023