What would help a lot is if you could take a piece of the shed from the middle of the body and cut straight along the midline with scissors, then open it out flat and take a photo, so that an accurate scale count around the midbody can be done. It would be best to make the cut on the dorsal surface so the ventral scales are shown intact, as this is also helpful. The other thing that would assist in an ID is a idea of the total length of the shed.
Photos of the head and underside of the tail were mentioned. This needs a little further clarification. The underside of the tail should be from the anal opening back. The head should be photographed from two angles. The top of the head, including just a little bit of the neck, and also the side of head, such that the scales from the nostril to the eye can be seen clearly.
From the obviously limited information available, it looks to me that it could be a common tree snake. The reason I say this this is that if the slough is not folded underneath, then it has a quite a small number of mid-body scales. It also appears that the was travelling above ground, through the fronds of the cycad, whilst it was shedding. This is more typical of tree snakes than your primarily terrestrial species. However, without further corroborating evidence I would not rely too heavily on the foregoing. The low scale count (if that
is the case) could equally indicate a common yellow-faced whipsnake.
@Sdaji, what you say about the toxicity of RBB snakes on humans is correct. There is one possible record of a child’s death, that was gleaned from an obituary notice in an early 1900’s newspaper. This blamed the death on a “black snake”. However, it simply is not possible to verify the correctness of that ID and it may be that it was dark toned snake that appeared back in the emotion of the moment. There are plenty of police reports to verify that people under emotional stress are not good at accurately remembering colours.
That aside, with respect to dogs, RBB venom is particularly potent (even more so than the venom of brown snakes). It is just one of those peculiarities of nature. A bit like humans being so susceptible to the venom of Funnel Web spiders. Their venom is basically designed to kill invertebrates and is not lethal to most vertebrates, primates being the exception. Many breeds of dog are protective their family territory and will attack any sizeable intruder. So generally speaking, RBB’s and dogs are not a good mix.