Removed unused variable from maintenance script [ci skip]