changed dict acces to .get to avoid exceptions when not in docker env