Do not re-run upgrade rake tasks on --upgrade
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1357472
Description of problem:
Upgrading along 3.x stream should not run remove_gutterball and elasticsearch_message. These steps are irrelevant to upgrading from 2.x
Steps to Reproduce:
1. # yum upgrade # but not from katello 2.x
2. # satellite-installer -S satellite --upgrade
Upgrade Step: elasticsearch_message...
package elasticsearch is not installed
Upgrade Step: remove_gutterball...
package gutterball is not installed
not appropriate upgrade steps are run needlessly.
only relevant steps are run when upgrading