Prevent using 'platform get' inside a project directory.