Fix error when a source has no labels

Turn a nil object into [] before playing with it.
Merge pull request #42 from rakoo/fix-no-labels

Fix error when a source has no labels
add license GPL-2 to gemspec
Merge branch 'develop' into sup-for-two