Add :revision variable, fallback to :branch if no specific revision is defined