Risolto:

<ja:if exists="aperture">
<% metadata += addMetadata("aperture","F/ " + aperture); %>
</ja:if>