Issue # 848: Fix erroneous path returned when resetting library folder