Fix errors in dejagnu results importing function.