Now I get what you want to do!
So you need to point your conf files to the new directory as you said. Could you try the next command?
egrep -Ri "/opt/bitnami/apps/drupal/htdocs"
That will tell you every file that contains that directory and you can change it to your new location
Another thing you need to do is check the permissions, and you may have an issue there because you need permissions to work on both places, your local and VM instances. To work on bitnami Stack on /opt you need to have bitnami user and daemon group as default for every file (some of them may work on daemon:daemon) and 755 for directories and 644 for files, again this could change for certain files.
Please tell us if you could make it work and ask any other issue you may have.