fix fatal error when building without any plugins installed

Change-Id: I7d5f4e565279ed68ab1e1b5200cd93b93fa05d9b