replaced pkg_resources with os.path with quick code clenaup

Fixes: https://code.ubuntu-it.org/ubuntu-it-web/www/-/issues/13
1 job for develop in 0 seconds (queued for 1 second)
Status Job ID Name Coverage
  External
passed managetests

00:00:07