Improve debugging for dotted path deduction failures while build fails