return nil if no version set is found