More robust check before using mfdb run time as wakeup time
(cherry picked from commit d9f5a172d3024216b5c7b6d3e8b8ccc8e40ed3e2)