Dont raise if rubygem is nil on dependency

[fixes #653]

thats not a fully fix, but at least it should display nil on the view, instead of throw 500 error.

review @dwradcliffe @knappe @sferik