Fix repo symlink check.

This makes master build to pass.

/cc @d2fn