Fixing ValueError message to refer the correct package