Maybe finally found a method to always get the right current package
path (also inside a jar)