fix: multiple choice gives latest: using tail -1

It seems that with multiple versions of a package, the oldest version is installed. -- (This may be a misconfiguration on my end)