fixes issue #1 where a package might have been defined without a category and breaks package processing
Merge pull request #2 from castiel/master

Fix for  'portagegt': can't convert nil into String