LPS-39451

This way it makes an exception for any token (e.g. the @base_url@ token, which is the issue in this case), not just the image token