providers/docker: support custom shell properly [GH-3697]