update to handle git versions of sage