proto-shell: handle the "available" config flag