Fix template condition

Storage is postgres not postgresql