Fix crash with non-existing repository cache
Version bump to 0.4.2
Regenerate gemspec for version 0.4.2