Make setRef getRef default to 'master'