Prevent pushing to symbolic references

fixes #704