Check package git is defined