Moved _get_foreign_key call after testing for fk_name fixing a broken test.
Moved _get_foreign_key call after testing for fk_name fixing a broken test.

git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@11643 bcc190cf-cafb-0310-a4f2-bffc1f526a37

Instagram/django,alex/django-old,jamespacileo/django-france,skevy/django,sam-tsai/django-old,Smarsh/django,django-nonrel/django-nonrel,Smarsh/django,mitsuhiko/django,bfirsh/django-old,Instagram/django,disqus/django-old,Smarsh/django,Smarsh/django,skevy/django,skevy/django,alex/django-old,t11e/django,Instagram/django,disqus/django-old,t11e/django,sam-tsai/django-old,bfirsh/django-old,disqus/django-old,django-nonrel/django-nonrel,alex/django-old,mitsuhiko/django,jamespacileo/django-france,mitsuhiko/django,t11e/django,sam-tsai/django-old,bfirsh/django-old,sam-tsai/django-old,django-nonrel/django-nonrel,jamespacileo/django-france