Fix PHP notice in Volt when if body is empty

See #1998