Fix check if mtime initialized