Modify __find_pool function, to prevent stopping with prompt when run from rc