docker: update docker completion
virtualenv: fix the way we restore environment
virtualenv: deactivate node environment if present

It seems this is not done automatically by deactivate.