reversing the order of the role_path list
handling case of space in path (given would start with single quote)