Fix some issues with the main.py when run as a (pypi) package
Fix some issues with the main.py when run as a (pypi) package

rolandgeider/wger,wger-project/wger,kjagoo/wger_stark,petervanderdoes/wger,petervanderdoes/wger,DeveloperMal/wger,kjagoo/wger_stark,petervanderdoes/wger,wger-project/wger,kjagoo/wger_stark,wger-project/wger,DeveloperMal/wger,DeveloperMal/wger,DeveloperMal/wger,rolandgeider/wger,kjagoo/wger_stark,rolandgeider/wger,wger-project/wger,petervanderdoes/wger,rolandgeider/wger