small bug fix in Restore-ServiceEXE