possible fix for [#12]

adding a check on current_release to return nil if there are no releases at all