according to the return value of distinfo, it is possible we could get a `None` here for `dist_release`. Is that OK?