strip leading spaces from path
(cherry picked from commit c1aa3a3f1aa99330ad95cc4fbc5e72d057a7ed8f)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>