BaseTools: use dictionary.get() when we have value if not found