Test if b:Rsource exists before using it.