improve error message to print the tag 

Closes #9001

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>