Add param to ctrl purging of vhost dir

I am going to create another PR to remove purge_vdir that will address this.