[FIX] fixed error message during creation of groups

Fixes https://www.openproject.org/work_packages/4013