aplogd: fix save log to externl storage when env STORAGE_SECONDARY or STORAGE_EXTERNAL not exists.

Change-Id: Id35fa06a6196803cb9559fc4441127a2be6a01f7