Can't use variable in Get URL action

I want to write a macro that looks like this :

So I may have an image open in my current Safari tab like this one :

And I want to download it to a folder with a name I give it.

However it seems Get URL does not expand my variable. :disappointed:

What can I do in this case?

I just tested Get URL with your image and it works for me.
Running Keyboard Maestro 8.0.1 (8.0.1) on macOS 10.11.6.

Add this Action immediately after the Get URL to confirm what's on the clipboard.