if an absolute path is passed return it without appending anything