@mrunalp good catch; I moved the check to `runCommandInContainer`.