Removed hardcoded path name when deleting config

[#54188652]