Added test to commit to avoid fatal error if no staged files present