minor refactor: remove trivial dupe in error message