Fix small build bug when get_data_path is not previously built

This yielded the "file(to_cmake_path ) ... must be called with
exactly three arguments" error, because before get_data_path
is built it doesn't return a path.