improves reporting for detecting hard-coded paths