Bugfix: {.} had removed dirname.