[Delivers #54137947]  Add checking for file availability to import_analysis_in_galaxy().  Code cleanup.