fix conditional with mkdir -p

There was an error in the conditional due to spacing (no space after the quotes). To fix
it I decided to replace the conditional with simpler 'mkdir -p' command.

Change-Id: I0f83e2823c69c5f9e3427e0925335e54e9b6c2a0
Merge "fix conditional with mkdir -p"