Use if_p in director template so it doesn't blow up when global_blobstore is missing