fix mini-rank runtime engine

Link: https://github.com/sebhtml/ray/issues/220
Reported-by: Bastien Chevreux <bach@chevreux.org>
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>