This caused trouble when the PROJECT_SOURCE_DIR is a symlink. When 'b' is a symlink, 'a/b/../' is not the same as 'a', but that is exactly what REALPATH does. In this case, it means that the opm-data is found (at ../ relative to the symlink), but the path that is set does not point to it.