make warning message contain the full path of the source directory for easier debugging