Fixing an error message about an unassignable backend

Backport of b59457a to 1.7.x