Fix wrong ota files

Ota pointer files contains wrong content when used in a module build. All ota pointer files contains a reference to the latest project of the module.
This bug is caused by the fact that the listener registered in a pre-deploy step to the aether lib is not removed after the deployment. This results in a huge chain of aether listeners. Each listener writes the corresponding ota pointer file each time when a deployment happens. The URL for the pointer is every time the url of the current deployment. This ends up in a situation where all ota pointers have the url of the latest deployed artifact as reference.