Fix for Octopus post-install clean-up logic.