Genericise the python package removal for build scripts

Genericise the package removal for master so the cleanup script