Added a fix to prevent FakeBranches to cause javascript error messages