Fix checking of Program context value in Mustache templates

* `<program>.context` is not null after update (because it's a required
  attribute on POST and PUT), so check `<program>.context.id` instead.

This fixes the disappearance of the `owners` attribute of public Programs after editing.