Starting with version 1.2020.11, we fix some security issues in PlantUML (see https://plantuml.com/security )
In some occasions, it turns out that %dirpath() exposes too many info about the running server.
In your case, you have to set PLANTUML_SECURITY_PROFILE to UNSECURE to let %dirpath() working.
Tell us if it help !