Fixed issue with 'shallow' repo