[1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.

Thanks Eugenio Cano-Manuel.

Backport of eefad142de from master