raise an error with an explicit message if a directive fails to include files - fixes #258