Fixed #13839: select_related caches None for non-existent objects in reverse one-to-one relations

Patch description is at https://code.djangoproject.com/ticket/13839#comment:18