reference finder to return no reference if the sample is not suitable for alignment RT#313168; reference finder refactored to ensure that abs_path is called on existing directories; tests improvements