Fix EZP-22660 : mtime generated empty = 0

https://jira.ez.no/browse/EZP-22660