Fixed error when trying to enable non-existent plugin