Fixed crash when Exporting key on New package file (as opposed to opened file).

git-svn-id: http://cameyo.googlecode.com/svn@294 b7f3951b-bd5f-3036-305d-e9be30f4989a