Fix erroneous comparison of config.current_role against symbols in deploy hook.