updating unshift-path to expand-file-name and trim trailing slash