Check existence of target_dir in runtime
Frontend does not care about the existence of conf.target_dir if
compose data is not served via frontend.
For backend, compose.target_dir is used instead of conf.target_dir
when generating compose which can be different with conf.target_dir
JIRA: RHELCMP-8813
Signed-off-by: Haibo Lin <hlin@redhat.com>