It was a penalty, but the ref may have thought he was turning away from goal when he fell. The defender was clever in the way he pulled his leg back but left his hip in, to check Murphy. Don't forget the ref has a split second to make a decision, which sounds obvious.
That said, it should have...