Remove assumption that all absolute paths start with '/'