Remove unused variable

Closes https://cfengine.com/dev/issues/3630