Fix package names in error messages.