`mkdir -p` doesn't exit with non-zero even if the directory exists