When setting `te_agent_package_state: absent` to uninstall the package, tasks to configure the service fail with an error, due to the service missing. Only attempt to configure the service when the package is present.
When setting `te_agent_package_state: absent` to uninstall the package, tasks to configure the service fail with an error, due to the service missing. Only attempt to configure the service when the package is present.