Fix NPE in the new MediaInfo implementation