Use a symbol for respond_to? in retry_on_fail

This is more idiomatic than using a string.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>