Fix crash when running dx-run-app-locally interactively