Adds a safe config getter