Rewrite pack install logic for MySQL

Python didn't return the right data types for executemany() so metapack
installs were failing in on MySQL setups