Fix the exception message in stack_resource.get_output()

Change-Id: Ifa81e3e9062e3e731ff1989f41f390171c203c71