Fixed #23418 -- Fail when migration deconstruct produces invalid import

I know Andrew did it at least once elsewhere, but I'd rather not include documentation links in error messages unless you think it's really necessary. I think it should at least use the /dev/ version of the docs so we don't have to update it every release. Also the line is longer than 119 characters.