If create isn't checked, don't create the directory

Ticket: #4958