[PATCH] Fix wrong use of path variable