fix fatal error when building without any plugins installed

Change-Id: Ie6b144d37d11af2d62ad3f0f28ff1a75fcb135fa