prov/psm: fix the return value of fi_av_insert

This fixes bug #413.