Hmm, if it's not found something is really wrong. So the samplename has to be in statusDB while not in the analysis dir, something I have not encountered. I have seen the other way around, not in DB but is in analysis. Could add checks for both cases... Don't know. 

@senthil10 Do you feel that this would be helpful when doing deliveries?