Update subcommand description
Install barclamps that become available after the upgrade
Improve upgrade target detection
Move setting of source variables to a separate function