cleanup maintenance component install script

Change-Id: Ib678951c4fcaa5ee758bc50f2eff01665ceb9955
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>