Bug: Edgecase: Error when shellcheck is not installed
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### Bug Description
When running `make lint`. I got this error
```
git ls-files | file --mime-type -Nnf- | grep shellscript | cut -f1 -d: | xargs -r shellcheck
xargs: shellcheck: No such file or directory
make: *** [common.mk:157: lint-shellcheck] Error 127
```
Root cause: seems to happen if `shellcheck` hasn't been installed in the system
### To Reproduce
- Ensure you don't have shellcheck installed in the system
- Run `make lint`
### Environment
Ubuntu 24.04 LTS
### rockcraft.yaml
```yaml
None
```
### Relevant log output
```shell
None
```
Evaluation history
No evaluation history available.