Fix customSyntax
resolution with configBasedir
#6536
Merged
customSyntax
resolution with configBasedir
#6536