If imagedir is not provided then don't show errors but just log it

When we have docs without images then we just have to leave the imagedir of the docexport task empty