Improve error message formatting for mmdblookup