installer: fix race condition in preinstalled components test.
installer: fix race condition in preinstalled components test.

tsuru/tsuru-client,tsuru/tsuru-client,ArxdSilva/tsuru-client,ArxdSilva/tsuru-client,ArxdSilva/tsuru-client