Don't consider modified_dirs for periodic jobs (#226)
Don't consider modified_dirs for periodic jobs (#226)

* Allow checkout.sh to process branch name

* Don't consider modified_dir when the job is periodic

kubeflow/testing,kubeflow/testing,kubeflow/testing,kubeflow/testing,kubeflow/testing