So, my problem was a simple typo:
+:ref/heads/* should be written as +:refs/heads/*
+:ref/heads/*
+:refs/heads/*