title: Ionic Appflow/Bitbucket - Error when building an app including subrepository - Cannot load subrepo
body: <p>I just started with Ionic Appflow and read all the docs and introductions.
  When I want to start a build for my latest bitbucket commit, I get an error from the build process because it cannot load the submodule included:</p>
  <pre><code>Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  <p>The main repository is successfully linked to the app, but there seems to be a problem while loading a submodule. My ionic app project consists of individual stuff and a kind of &quot;base&quot; template which i built and which is included as submodule in the repository. Fetching the repo with</p>
  <pre><code>git clone git@bitbucket.org:examplecompany/exampleapp.git --recursive
  </code></pre>
  <p>is working well and also loads all files from the submodule.</p>
  <p>Ionic Appflow doesn't seem to allow submodules in repositories due to the error give.
  Has anybody encountered the same issue or a solution for this problem?
  Best regards!</p>
  <p><strong>EDIT</strong> :
  I just tried to include the subrepo as a git subtree instead of a git submodule into the main repository and this works pretty well and appflow also recognizes the submodule this way and the build passes. I think subtree isn't a nice solution because the files are being stored in the main repo and not just linked like with the submodule. So I'm still looking for a submodule solution for my problem! Thanks</p>