Fixed: Current directory may be null for assets loaded through non-Puli templates