make sure that souredir exists