_gitsourcebase.py: Return 'None' when the ref is unset

Description

As per the documentation, plugins should return 'None' when their ref is unset

Merge request reports

Loading