Foreman_url issues

In my settings I have the foreman_url set as below:

foreman_urlforeman.domain.tld:3000
However when I call <%= foreman_url %> in a provisioning template it gets
expanded to foreman:3000 missing out the domain.

What am I missing out?

I'm running 1.0.0-2 currently.