mako_cache: wrap get functions in NO_VALUE try excepts.