fix mora-build --rebuild when dir didn't exist

Signed-off-by: Jose-Luis Blanco-Claraco <joseluisblancoc@gmail.com>