Some webjobs fixes

Exception occurs when AppBaseUrlPrefix is null
Make sure triggered job run status is accurate