[BUGFIX] PHP Fatal Error in MetaDataExtractor

Thanks to @sloghin for reporting the issue.

Fixes: #26