second attempt to expand path only if necessary