Fix error message for missing gem name