Fixed selection of right tab if package upload failed