testing: Extracted code to ensure .tsuru_target file exists