Use pre-defined LFS pointer check
Replacement of the locally defined check fot the LFS pointer with pre-defined function from git package. We remove code duplication and the check is more strict now.
Replacement of the locally defined check fot the LFS pointer with pre-defined function from git package. We remove code duplication and the check is more strict now.