The "target_dir" fact is set only for localhost, so can't be
referenced below when running the synchronize on the fileserver.
fileserver.path and static_target should be set globally and can be
referenced in the synchronize step. Move the master branch check
out and earlier.
Change-Id: Ie9f73df453abb7321950f12b34dcc911b950d630