Dont raise if rubygem is nil on dependency

[fixes #653]
Merge pull request #688 from arthurnn/try_rubygem_name

Dont raise if rubygem is nil on dependency