fixed error output and format for gentoo package check