fix project build before git repo init (fix release plugin behaviour)