Handle the possible absence of the pacemaker

In a non-HA setup, pacemaker is not present. As the upgrade script is running with 'set -e',
execution will fail at that moment. This commit handles that corner case and tries to minimize
the situations where failures in the upgrade process can happen and not halt the script execution