When RH data are missing fro the entire level, ungrib fills in the values. The ungrib program will fill in a value of 5% for missing RH from 300 to 70 mb levels, and 0% above 70 mb. If you would like to change it, you can make modifications in ungrib/src/rrpr.F.