Fixes null check in template repo