Added a small comment about absolutepath()
absolutepath() refactoring

  Avoid unchecked malloc(3) and strlcpy(3) calls.
Check strlcpy(3) return value in pkg which.

  Since the argument is user provided, a boundary check is needed.