Not only does one have to create a directory in moodledata/repository/ directory but
one also has to enable file system repository in the GUI admin and setup one for the manually created directory.
/admin/repository.php?action=edit&repos=filesystem
https://docs.moodle.org/405/en/File_system_repository
I see: c:/bitnami/moodledata/repository in prompt.
Are you running this on Windows?
Am confused by that as if it were a Windows machine, php by itself might not find php-cli.exe and the slashes would be \ rather than /.
The command you issued
php /bitnami/moodle/admin/cli/restore_backup.php --file=/bitnami/moodledata/repository/latestbackup32.mbz --categoryid=1
Begins with 'php' ... is that finding php-cli?
Find out via: 'which php' when in the bitnami code directory. That should show a path. Then use that path /path/to/php and add the -v switch.
If it is php-cli you would/should see that in what gets returned.
If the above works as expected, I'd try:
cd /path/to/moodle/code/ first
then issue
php admin/cli/restore_backup.php --file=/blah.
'SoS', Ken