[Bam,Core] Display the filename of the package definition file if an exception occurs while reading it