handling case of space in path (given would start with single quote)
Merge pull request #8744 from ynk/fix/white-spaces

handling case of space in path (given would start with single quote)