prevent panic when the restore hook init container command annotation is empty
