NX-725: Remove strange logger helpers

That were needed to run in NX older than 2.6.
Also, removed some logging used for debugging
and some smaller exception related cleanup.

Issue
https://issues.sonatype.org/browse/NX-725