Let's introduce a common function that makes relative paths absolute and warns about any errors while doing so.