Merge "Improve error message when syncing a project with invalid groups."