Fix the static dump when the project doesn't have any foreign projects.

the exact issue is that there would be no show_repo elements and get_fields
would return an undefined value because of it.


git-svn-id: svn+ssh://svnrepo/projects/nitpick/trunk@6637 561c3618-0fe6-0310-b5d6-fc65c73fee30