Fixed issue with no packages and the template