make sure job path exists

An error was appearing in curcumstances where there was no job path