[PATCH PM-QA v2 14/25] suspend_functions: Check if $LOGDIR exists