replace package detection with function now that it seems to work, in tbeta installer
replace package detection with function now that it seems to work, in tbeta installer

rpavlik/rp-mt-scripts,rpavlik/rp-mt-scripts