Handle empty paths in PathBuilder::get_current_point() …
The case of calling get_current_point() on empty paths has not been handled and caused panics.