return None for get when dict is None