Fix for subbing None templates. Happens when e.g. a test-data directory is not available.