Fixing the case where bash completion would be used for nonexistent project names and added stubs for more tests