PX4 Build Error fatal: no path in gitfile: /home/coop/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/.git

PX4 cloned from Release Stable Release v1.12.3 · PX4/PX4-Autopilot · GitHub
Ubuntu 18.04
python 3
using command: make px4_fmu-v5_default clean && make px4_fmu-v5_default

I created a BitBucket Repo using the cloned code. I set my remote repository to my bitbucket repo (https://bitbucket.org/).

When build, I get the following error:
fatal: no path in gitfile: /home/coop/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/.git

How do I resolve this ?