Prevent error "Cannot read property '0' of null" when there is no file

Ref https://github.com/segmentio/myth/issues/62