[EE] CE-EE parity for prepare_build script
This removes EE-only directives in favor of file existence checks.
CE version: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23819
This removes EE-only directives in favor of file existence checks.
CE version: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23819