Revert "Fixed loading configuration folder"

This reverts commit 2276ca23794e486867824a14a53ef7d014a88be7.