Update Plugin.php

Applied Change like in https://github.com/pimcore/pimcore/commit/cca15a5b138c5a43f4635c8b2742ae5ad5b39582