taskdata: Fix traceback issue with missing provider
If there is a missing provider and we're using "-k" mode alongside "-w",
we could get a traceback since there was no provider. Add tests to avoid this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>