Function to check if package already installed is fixed