syntax(install_agent): Fix if statement syntax error