Be more tolerant about log path

In case we don't have privileges to create a specified directory we
should not crash. This could lead to problems with early rake tasks.