Fixing an error message about an unassignable backend

Backport of b59457 to 1.7.x