Not sure if you even need to test before you execute `mkdir -p`, it will just silently exit