Small fixes

Clears out the unused variable in remotebackend, adds missing files into .gitignore files.