Instead of recompiling and rebuilding this list every iteration
of the ``iterate_retries`` function we can just locally cache this
information in the runtime compile function and later just use
it directly.
Change-Id: I70e8409391d655730da61413300db05b25843350