Fixed crash when no dependencies are available in XML