Fixed loading invalid plugins crashing the server