Ensure we have selected a folder before fetching the headers
Otherwise we can run into problems apparently