[package] [diskmount-osmc] Add conditional tests to properly handle upgr...

...ades in all packages using divert rules. Remove debug echos.