Bugfix: autocomplete

Fixed bug when autoupdate=False caused by autocompleting from open Stata
session (which was of course closed)