Fixed not-null check as workers don't have config file (and don't need one yet)