detect path absoluteness properly, ref #1624