Inline substitute inside s:dirpath()

The function has already a name and is pretty simple and understandable so do not waste a function call :wink: