More reliable code to detect if package has been uploaded and installed