Prevent duplicate package name in error summary, closes #277.