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

If you have a space in your `given` path, then python will output the path within single quotes, which results in a false state of the `if given.startswith("/"):` test. These small lines fix the issue.