Fix a bug with dockwrap exec