Fix for Running extension test suite on clean system fails #5821

Start executing the tests when the returned promise was fulfilled and not only in the `done` handler.
This will ensure that the tests are able to start even if the extension directory hasn't been found.