removes leading slash on priority list helper (windows)